package whf.framework.meta.service;

import whf.framework.exception.ServiceNotFoundException;
import whf.framework.meta.dao.ViewPropertyDAO;
import whf.framework.meta.entity.ViewProperty;
import whf.framework.util.BeanFactory;

/**
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2006-05-31
 */
public class ViewPropertyServiceImp extends whf.framework.service.ServiceImp<ViewProperty> implements ViewPropertyService {

	private ViewPropertyDAO viewPropertyDAO;

	public void setViewPropertyDAO(ViewPropertyDAO viewPropertyDAO) {
		this.viewPropertyDAO = viewPropertyDAO;
	}

	public static ViewPropertyService getViewPropertyService() throws ServiceNotFoundException {
		return (ViewPropertyService)BeanFactory.getService(ViewPropertyServiceImp.class);
	}

	/* (non-Javadoc)
	 * @see whf.framework.service.ServiceImp#getBoClass()
	 */
	@Override
	public Class getEntityClass() {
		return ViewProperty.class;
	}

} 